package com.pro.entity;

import java.util.Date;

public class ProductEntity {
	private int id; //主键
	private String createTime;//创建时间
	private String name;//姓名
	private String img;//图片
	private String texture;//材质
	private String price;//售价
	private String priceRmb;//市场价
	private int pid;//
	private int showHome;
	private String typeName;
	
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getTexture() {
		return texture;
	}
	public void setTexture(String texture) {
		this.texture = texture;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	public String getPriceRmb() {
		return priceRmb;
	}
	public void setPriceRmb(String priceRmb) {
		this.priceRmb = priceRmb;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public int getShowHome() {
		return showHome;
	}
	public void setShowHome(int showHome) {
		this.showHome = showHome;
	}
	public ProductEntity(int id, String createTime, String name, String img, String texture, String price, String priceRmb,
			int pid, int showHome) {
		super();
		this.id = id;
		this.createTime = createTime;
		this.name = name;
		this.img = img;
		this.texture = texture;
		this.price = price;
		this.priceRmb = priceRmb;
		this.pid = pid;
		this.showHome = showHome;
	}
	
	public ProductEntity(int id, String createTime, String name, String img, String texture, String price,
			String priceRmb, int pid, int showHome, String typeName) {
		super();
		this.id = id;
		this.createTime = createTime;
		this.name = name;
		this.img = img;
		this.texture = texture;
		this.price = price;
		this.priceRmb = priceRmb;
		this.pid = pid;
		this.showHome = showHome;
		this.typeName = typeName;
	}
	public ProductEntity() {
		super();
	}
	@Override
	public String toString() {
		return "ProductEntity [id=" + id + ", createTime=" + createTime + ", name=" + name + ", img=" + img
				+ ", texture=" + texture + ", price=" + price + ", priceRmb=" + priceRmb + ", pid=" + pid
				+ ", showHome=" + showHome + "]";
	}
	
}
